package com.lovegu.framework.satoken;

import cn.dev33.satoken.jwt.StpLogicJwtForMix;
import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SaTokenConfigure {

    /**
     * Sa-Token 整合 jwt (Style模式)
     * @return
     */
    @Bean
    public StpLogic getStpLogicJwt() {
        return new StpLogicJwtForMix();
    }
}